#pragma once

class CLoginPage : public CDialogImpl<CLoginPage>
{
public:
	CLoginPage();   // standard constructor
	virtual ~CLoginPage();

// Dialog Data
	enum { IDD = IDD_LOGIN_DLG };

protected:
	BEGIN_MSG_MAP(CLoginPage)
		MESSAGE_HANDLER(WM_INITDIALOG, OnInitDialog)
	END_MSG_MAP()
	DECLARE_UIG_MESSAGE_MAP(CLoginPage)

public:
	LRESULT OnInitDialog(UINT uMsg, WPARAM wParam, LPARAM lParam, BOOL& bHandled);

	void BtnNumber(IUIGearsControl* pCtrl);
	void BtnClicked(IUIGearsControl* pCtrl);
		
private:
	UIGears::IUIGearsWindow*	m_pWindow;
	UIGears::IUIGButton*			m_btn2;
	UIGears::IUIGButton*			m_btn1;
	UIGears::IUIGButton*			m_btn3;
	UIGears::IUIGButton*			m_btn0;
	UIGears::IUIGButton*			m_btnDel;
	UIGears::IUIGButton*			m_btn6;
	UIGears::IUIGButton*			m_btn5;
	UIGears::IUIGButton*			m_btn4;
	UIGears::IUIGButton*			m_btn7;
	UIGears::IUIGButton*			m_btn8;
	UIGears::IUIGButton*			m_btn9;
	UIGears::IUIGButton*			m_btnClear;
	UIGears::IUIGEdit*			m_editUser;
	UIGears::IUIGEdit*			m_editPsw;
	UIGears::IUIGButton*			m_btnLogin;

};
